/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.fredy.pacman;

/**
 *
 * @author fredy
 */
public class Player
{
    public enum Position
    {
        UP, DOWN, LEFT, RIGHT
    }

    public enum PlayerType
    {
        PACMAN, GHOST
    }

    public enum PlayerStatus
    {
        NORMAL, POWERED_UP, SCARED
    }
    private PlayerType playerType;
    private PlayerStatus playerStatus;
    private int currentRow;
    private int currentColumn;
    private Position position;
    private int numDotsEaten;
    private boolean dead;

    public Player(PlayerType playerType)
    {
        this.playerType = playerType;
    }

    public int getNumDotsEaten()
    {
        return numDotsEaten;
    }

    public void setNumDotsEaten(int numDotsEaten)
    {
        this.numDotsEaten = numDotsEaten;
    }

    public PlayerType getPlayerType()
    {
        return playerType;
    }

    public int getCurrentRow()
    {
        return currentRow;
    }

    public void setCurrentRow(int currentRow)
    {
        this.currentRow = currentRow;
    }

    public int getCurrentColumn()
    {
        return currentColumn;
    }

    public void setCurrentColumn(int currentColumn)
    {
        this.currentColumn = currentColumn;
    }

    public PlayerStatus getPlayerStatus()
    {
        return playerStatus;
    }

    public void setPlayerStatus(PlayerStatus playerStatus)
    {
        this.playerStatus = playerStatus;
    }

    public Position getPosition()
    {
        return position;
    }

    public void setPosition(Position position)
    {
        this.position = position;
    }

    public boolean isDead()
    {
        return dead;
    }

    public void setDead(boolean dead)
    {
        this.dead = dead;
    }
}
